package com.bsj.power.common.def.dto.cardReport;

import com.bsj.power.common.def.dto.PageDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author LiJiaXin
 * @version 1.0.0
 * @description CardReportSearchDTO
 * @time 2024/4/23 20:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CardReportSearchDTO extends PageDTO {

    /**
     * 设备号
     */
    private String deviceName;

    /**
     * 类型 1绑卡 2退卡
     */
    private Integer type;

    /**
     * 人员名称
     */
    private String personnelName;

    /**
     * 时间格式
     */
    private String timeFormat;

    public CardReportSearchDTO(String startTime, String endTime, String timeFormat) {
        super.setStartTime(startTime);
        super.setEndTime(endTime);
        this.timeFormat = timeFormat;
    }
}
